Answers for the Exercises

Programmer Certification Study Guide

Chapter 1: Object-Oriented Programming

Chapter 2: Keywords

Chapter 3: Constructors

Chapter 4: Memory and Garbage Collection

Chapter 5: Data Types and Values

Chapter 6: Operators

Chapter 7: Control Flow

Chapter 8: Exceptions

Chapter 9: Methods

Chapter 10: The Math and String Classes

Chapter 11: Input/Output

Chapter 12: Threads

Chapter 13: Graphical User Interfaces

Chapter 14: Events in Java 1.0.2

Chapter 15: Events in Java 1.1

Chapter 16: Passing Arguments to Programs

Chapter 17: Embedding Applets into Web Pages

Chapter 18: Java 1.1

Part II: Developer Certification Study Guide

Chapter 19: Creating Clean APIs

Chapter 20: Advanced Graphical User Interfaces

Chapter 21: Accessing Databases

Chapter 22: Network Programming

Chapter 23: Comments and Style